Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #12521. This draft stages only the Worker deployment slice; it does not close the umbrella issue or include the report endpoint, APK, or Android SDK work.
Changes
.github/workflows/pm-console-edge-deploy.ymlis restored to matchmainexactly. Its current push-to-main Wrangler publisher and rollback input remain the production path.workflow_dispatch-only cf release workflow, restricted tomain, withupload-onlyandreleasestages. Neither stage runs on a push or pull request.pm-console-edge-uploadenvironment and onlyCF_PM_EDGE_UPLOAD_API_TOKEN/CF_PM_EDGE_UPLOAD_ACCOUNT_ID. It creates a candidate version tagged with the full source SHA and workflow run, then captures the current 100% serving version. Upload never promotes.pm-console-edge-productionenvironment and onlyCF_PM_EDGE_PROMOTE_API_TOKEN/CF_PM_EDGE_PROMOTE_ACCOUNT_ID. It verifies the candidate version id, tag and message, confirms its source SHA remains on main, checks that the serving version has not changed since upload, then explicitly promotes. It verifies the candidate is serving at 100% and passes the existing production health check.expose.pyand its health-gated route behavior remain unchanged. The cf config maps the existingPmEdgeSQLite class and assets.Verification
npm ci --no-audit --no-fund: passed.node build.mjs: passed.deploy --dry-runvs pinned cf beta.20workers versions create --dry-run: passed offline with no Cloudflare credentials. Binding names matched and both reported 68.11 KiB / 19.81 KiB gzip. Output included the PM Durable Object, assets, PUBLIC_HOST and commit VERSION.bash -npassed for all 23 run steps;git diff --check: passed.bun test: could not run because Bun is not installed locally. The Nix-backed CLI build also was not run locally because Nix is unavailable. No release workflow was triggered.Settings prerequisite
A read-only check of repository environments found only
copilotandgithub-pages; neitherpm-console-edge-uploadnorpm-console-edge-productioncurrently exists. GitHub creates a referenced but missing environment without protection, so do not dispatch this workflow until both environments are configured with required reviewers, a main-only deployment branch policy, and their distinct environment-only secrets. No settings were changed; only environment names and protection metadata were checked read-only. No credential values were read. The production token also needs the access required for version/deployment checks and the existing workers.dev health lookup.